using System;
using BugzProxy;

namespace SubversionReports.Web
{
    public partial class Test : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Server bugzillaServer = new Server("bugzilla.host.name");
            bugzillaServer.Login("username", "password", false);
            BugzillaVersionLabel.Text = bugzillaServer.GetVersion();
            Bug[] bugs = bugzillaServer.GetBugs(new int[] { 2712, 4136, 4151, 4601, 4896 });
            BugsGrid.DataSource = bugs;
            BugsGrid.DataBind();
        }
    }
}
